﻿<%@ Page Language="VB" MasterPageFile="~/Pages/Admin/AdminMasterPage.master" AutoEventWireup="false" CodeFile="skolaJobb.aspx.vb" Inherits="Pages_Admin_skola" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  
  <div id="controlbox">
        
        <asp:Label ID="lblDDLError" runat="server" ></asp:Label>
                
        <!--Dold panel som håller ID-->
             <asp:Panel ID="pnHiddenCK" Visible="false" runat="server">
              <asp:Label ID="lblHiddenCK" runat="server" Text=""></asp:Label>
             </asp:Panel>
             <asp:Label ID="lblSection" runat="server" Text="Sektion: Skola & Jobb"></asp:Label>

<div id="btnDelete">
        <asp:CheckBox ID="chkFrontNews" runat="server" Text="FP" />
        <asp:CheckBox ID="chkPrio" text="Prio" runat="server" />       
        <asp:Button ID="btnSubmitNews" CausesValidation="true" ValidationGroup="news" runat="server" Text="Spara" />
        <asp:Button ID="btnDeleteNews" runat="server"  OnClick="btnDeleteNews_Click" OnClientClick="return (Page_IsValid && confirm('Vill du verkligen ta bort nyheten?'));" Text="Ta bort" />
        <asp:Button ID="btnClear" runat="server" Text="Rensa" />
</div>
<br />
<br />
     
   
     <CKEditor:CKEditorControl ID="CKEditor1" runat="server" ResizeEnabled ="false" Toolbar = "Full" EnableXHTML="true" > 
</CKEditor:CKEditorControl>


<br />
   
    
</div>

         <div id="repeater">
        <asp:Repeater ID="rptSchoolWorkAdmin" EnableViewState="false" runat="server">
        
        
         
         <ItemTemplate>

         <div class="<%#DataBinder.Eval(Container.DataItem, "NewsName")%>">
         
         <asp:Panel ID="pnHidden" Visible="false" runat="server">
         <asp:Label ID="txtHidden" runat="server" Text=""></asp:Label>
         
         </asp:Panel>
        
          <div id="btnDelete" style="background-color:transparent;">
          
        
          <asp:CheckBox ID="chkFirstPage" runat="server" Text="FP" Enabled="false" />
          <asp:CheckBox ID="chkPrioNews" runat="server" Text="Prio" Enabled="false"/>
          <asp:Button ID="btnEdit" runat="server" CommandArgument="btnEdit" Text="Editera" />
         </div>
        
          <br />
          <u><h4><%#DataBinder.Eval(Container.DataItem, "Header")%></h4></u>
           <%#DataBinder.Eval(Container.DataItem, "texten")%>
           <em> <%#DataBinder.Eval(Container.DataItem, "DateNews")%></em>
           <br />
          </div>

            </ItemTemplate>
  </asp:Repeater>
    </div>
</asp:Content>

